package biz.ezcom.spring.aop.service.aop;

import org.aspectj.lang.ProceedingJoinPoint;

public class UserAop {

	public void before(){
		System.out.println("UserAop.before()");
	}
	
	public void after(){
		System.out.println("UserAop.after()");
	}

	public void afterThrowing(){
		System.out.println("UserAop.afterThrowing()");
	} 

	public void afterReturning(){
		System.out.println("UserAop.afterReturning()");
	}
	
	public void around(ProceedingJoinPoint proceedingJoinPoint) throws Throwable{
		System.out.println("UserAop.around():before");
		proceedingJoinPoint.proceed();//目标方法 
		System.out.println("UserAop.around():after");
	}
	
	
}
